home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.5 KB | 72 lines | [TEXT/MPS ] |
- ;
- ; File: TextEncodingPlugin.a
- ;
- ; Contains: Required interface for Text Encoding Converter-Plugins
- ;
- ; Version: Technology:
- ; Release: Universal Interfaces 3.0d3 on Copland DR1
- ;
- ; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
- IF &TYPE('__TEXTENCODINGPLUGIN__') = 'UNDEFINED' THEN
- __TEXTENCODINGPLUGIN__ SET 1
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- IF &TYPE('__NAMEREGISTRY__') = 'UNDEFINED' THEN
- include 'NameRegistry.a'
- ENDIF
- IF &TYPE('__TEXTENCODINGCONVERTER__') = 'UNDEFINED' THEN
- include 'TextEncodingConverter.a'
- ENDIF
- ;
- ;####################################################################################
- ; Constructor/Destructor Messages
- ;####################################################################################
- ;
- ; normal termination
- ; error condition termination
- ;
- ;####################################################################################
- ; Control Messages
- ;####################################################################################
- ;
- ;
- ;####################################################################################
- ; Functional Messages
- ;####################################################################################
- ;
- ;
- ;####################################################################################
- ; Dispatch Table Definition
- ;####################################################################################
- ;
-
- kTextEncodingPluginDispatchTableVersion1 EQU $0001
- kTextEncodingPluginDispatchTableCurrentVersion EQU $0001
- TextEncodingPluginDispatchTable RECORD 0
- version ds.w 1 ; offset: $0 (0)
- PlugInInit ds.l 1 ; offset: $2 (2)
- PlugInFree ds.l 1 ; offset: $6 (6)
- PlugInEject ds.l 1 ; offset: $A (10)
- PlugInStartIO ds.l 1 ; offset: $E (14)
- PlugInHaltIO ds.l 1 ; offset: $12 (18)
- PlugInCountAvailableTextEncodings ds.l 1 ; offset: $16 (22)
- PlugInGetAvailableTextEncodings ds.l 1 ; offset: $1A (26)
- PlugInNewEncodingConverter ds.l 1 ; offset: $1E (30)
- PlugInDisposeEncodingConverter ds.l 1 ; offset: $22 (34)
- PlugInConvertTextEncoding ds.l 1 ; offset: $26 (38)
- PlugInExamineTextEncoding ds.l 1 ; offset: $2A (42)
- sizeof EQU * ; size: $2E (46)
- ENDR
- ENDIF ; __TEXTENCODINGPLUGIN__
-
-